vida: vida.h vida.c main.c
	@echo "Compilando o Programa..."
	gcc *c -o jogovida -pthread -g `allegro-config --libs`

clean:
	@echo "Limpando..."
	rm -f *~ jogovida jogovida_static

e:
	@echo "Executando..." 
	make vida
	./jogovida

static: vida.h vida.c main.c
	@echo "Compilando o programa com linkagem estatica do Allegro..."
	gcc *c -o jogovida_static -pthread -g `allegro-config --libs --static`

random: vida.h vida.c main.c
	make
	./jogovida -a 200 -l 200 -r 5 

10cell: vida.h vida.c main.c 10cell
	make
	./10cell

exploder: vida.h vida.c main.c exploder
	make
	./exploder

exploder1: vida.h vida.c main.c exploder1
	make
	./exploder1

glider: vida.h vida.c main.c glider
	make
	./glider

space: vida.h vida.c main.c space
	make
	./space

gosper: vida.h vida.c main.c gosper
	make
	./gosper

tumbler: vida.h vida.c main.c tumbler
	make
	./tumbler

linha: vida.h vida.c main.c linha
	make
	./linha

